package com.he.hsdyc.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class OrderClassPackage implements Serializable {
    /**
     * 课次包订单
     */
    private Long id;

    /**
     * 学生ID
     */
    private Long stuId;

    /**
     * 订单编号
     */
    private String code;

    /**
     * 订单总金额
     */
    private BigDecimal amount;

    /**
     * 0现金 1支付宝  2 微信 3个人账户/4线下支付/5银联支付
     */
    private Integer payType;

    /**
     * 支付时间
     */
    private Date payTime;

    /**
     * 状态（0未支付/1交易成功/2交易关闭/3业务关闭/4待支付/5已退费/6新交易关闭）
     */
    private Integer status;

    /**
     * 签单人
     */
    private Long createUserId;

    /**
     * 签单时间
     */
    private Date createTime;

    /**
     * 种类（0新单/1续费/3定金）
     */
    private Integer orderType;

    /**
     * 学生校区
     */
    private Long schoolId;

    /**
     * 优惠后金额
     */
    private BigDecimal discount;

    /**
     * 余款
     */
    private BigDecimal balance;

    /**
     * 0 余款未结清  1余款已结清
     */
    private Integer balanceType;

    /**
     * 签名图片
     */
    private String autograph;

    /**
     * 0：Pad；1：微信；2：后台；3：一体机；4：APP
     */
    private Integer platform;

    /**
     * 备注
     */
    private String notes;

    /**
     * 打印发票备注
     */
    private String content;

    /**
     * 是否删除
     */
    private Boolean isdel;

    /**
     * 关联预报名订单的父类id
     */
    private Long pid;

    /**
     * 课次*次
     */
    private Integer courseNum;

    /**
     * 报名前已上数
     */
    private Integer coursepreNum;

    /**
     * 消耗课时
     */
    private Integer consumeNum;

    /**
     * 是否退费
     */
    private Boolean isreturn;

    /**
     * 截止时间
     */
    private Integer endTime;

    /**
     * 是否停课
     */
    private Boolean isSuspendClasses;

    /**
     * 上课天数
     */
    private Integer classNumber;

    /**
     * 是否关联课程0任意课程1多门课程
     */
    private Boolean isClass;

    /**
     * 续费是否提醒（1：不提醒：0：提醒）
     */
    private Integer isIgnore;

    private BigDecimal unitPrice;

    private Long combiPackageId;

    private Integer mixtureType;

    private String combiPackageName;

    private Integer startTime;

    public Integer getStartTime() {
        return startTime;
    }

    public void setStartTime(Integer startTime) {
        this.startTime = startTime;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public Long getCombiPackageId() {
        return combiPackageId;
    }

    public void setCombiPackageId(Long combiPackageId) {
        this.combiPackageId = combiPackageId;
    }

    public Integer getMixtureType() {
        return mixtureType;
    }

    public void setMixtureType(Integer mixtureType) {
        this.mixtureType = mixtureType;
    }

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getStuId() {
        return stuId;
    }

    public void setStuId(Long stuId) {
        this.stuId = stuId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Integer getBalanceType() {
        return balanceType;
    }

    public void setBalanceType(Integer balanceType) {
        this.balanceType = balanceType;
    }

    public String getAutograph() {
        return autograph;
    }

    public void setAutograph(String autograph) {
        this.autograph = autograph;
    }

    public Integer getPlatform() {
        return platform;
    }

    public void setPlatform(Integer platform) {
        this.platform = platform;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Boolean getIsdel() {
        return isdel;
    }

    public void setIsdel(Boolean isdel) {
        this.isdel = isdel;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Integer getCourseNum() {
        return courseNum;
    }

    public void setCourseNum(Integer courseNum) {
        this.courseNum = courseNum;
    }

    public Integer getCoursepreNum() {
        return coursepreNum;
    }

    public void setCoursepreNum(Integer coursepreNum) {
        this.coursepreNum = coursepreNum;
    }

    public Integer getConsumeNum() {
        return consumeNum;
    }

    public void setConsumeNum(Integer consumeNum) {
        this.consumeNum = consumeNum;
    }

    public Boolean getIsreturn() {
        return isreturn;
    }

    public void setIsreturn(Boolean isreturn) {
        this.isreturn = isreturn;
    }

    public Integer getEndTime() {
        return endTime;
    }

    public void setEndTime(Integer endTime) {
        this.endTime = endTime;
    }

    public Boolean getIsSuspendClasses() {
        return isSuspendClasses;
    }

    public void setIsSuspendClasses(Boolean isSuspendClasses) {
        this.isSuspendClasses = isSuspendClasses;
    }

    public Integer getClassNumber() {
        return classNumber;
    }

    public void setClassNumber(Integer classNumber) {
        this.classNumber = classNumber;
    }

    public Boolean getIsClass() {
        return isClass;
    }

    public void setIsClass(Boolean isClass) {
        this.isClass = isClass;
    }

    public Integer getIsIgnore() {
        return isIgnore;
    }

    public void setIsIgnore(Integer isIgnore) {
        this.isIgnore = isIgnore;
    }

    public String getCombiPackageName() {
        return combiPackageName;
    }

    public void setCombiPackageName(String combiPackageName) {
        this.combiPackageName = combiPackageName;
    }

}